package cn.iocoder.yudao.module.erp.controller.admin.bom.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - bom分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ErpBomPageReqVO extends PageParam {

    @Schema(description = "编码")
    private String fnumber;

    @Schema(description = "业务类型", example = "1149")
    private String fbiztypeid;

    @Schema(description = "来源单据类型", example = "22676")
    private String fsourcebilltypeid;

    @Schema(description = "单据类型", example = "7490")
    private String fbilltypeid;

    @Schema(description = "业务年度")
    private Long fyear;

    @Schema(description = "业务期间")
    private Long fperiod;

    @Schema(description = "修改人", example = "2264")
    private String updater;

    @Schema(description = "修改时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] updateTime;

    @Schema(description = "计量单位", example = "27157")
    private Long funitid;

    @Schema(description = "bom名称", example = "张三")
    private String fname;

    @Schema(description = "bom类型", example = "1")
    private Long fbomtype;

    @Schema(description = "生产数量")
    private BigDecimal fproductqty;

    @Schema(description = "bom用途", example = "2")
    private Long fusagetype;

    @Schema(description = "物料", example = "31761")
    private Long fmaterialid;

    @Schema(description = "父物料规格型号")
    private String fmodel;

    @Schema(description = "父物料成品率")
    private BigDecimal fyield;

    @Schema(description = "物料计划资料", example = "13802")
    private String fmaterialplanid;

    @Schema(description = "bom组", example = "24031")
    private Long fbomgroupid;

    @Schema(description = "工程图号")
    private String fpicturenumber;
}